package com.findFish.fish.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.findFish.common.annotation.Excel;
import com.findFish.common.core.domain.BaseEntity;

/**
 * 鱼类行为分析对象 fish_behavior
 * 
 * @author admin
 * @date 2025-04-01
 */
public class FishBehavior extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 行为分析ID */
    private Long id;

    /** 鱼类种群ID */
    @Excel(name = "鱼类种群ID")
    private Long fishPopulationId;

    /** 记录日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "记录日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date recordDate;

    /** 游泳模式 */
    @Excel(name = "游泳模式")
    private String swimmingPattern;

    /** 聚集行为 */
    @Excel(name = "聚集行为")
    private String aggregationBehavior;

    /** 备注 */
    @Excel(name = "备注")
    private String notes;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setFishPopulationId(Long fishPopulationId) 
    {
        this.fishPopulationId = fishPopulationId;
    }

    public Long getFishPopulationId() 
    {
        return fishPopulationId;
    }

    public void setRecordDate(Date recordDate) 
    {
        this.recordDate = recordDate;
    }

    public Date getRecordDate() 
    {
        return recordDate;
    }

    public void setSwimmingPattern(String swimmingPattern) 
    {
        this.swimmingPattern = swimmingPattern;
    }

    public String getSwimmingPattern() 
    {
        return swimmingPattern;
    }

    public void setAggregationBehavior(String aggregationBehavior) 
    {
        this.aggregationBehavior = aggregationBehavior;
    }

    public String getAggregationBehavior() 
    {
        return aggregationBehavior;
    }

    public void setNotes(String notes) 
    {
        this.notes = notes;
    }

    public String getNotes() 
    {
        return notes;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("fishPopulationId", getFishPopulationId())
            .append("recordDate", getRecordDate())
            .append("swimmingPattern", getSwimmingPattern())
            .append("aggregationBehavior", getAggregationBehavior())
            .append("notes", getNotes())
            .toString();
    }
}
